package com.yellow.routingservice.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: hy
 * @create: 2024-04-14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("routes")
public class Route {
    @TableId(type = IdType.AUTO,value = "routeid")
    private Integer routeId;

    @TableField(value = "orderid")
    private Integer orderId;

    @TableField(value = "userid")
    private Integer userId;

    @TableField(value = "originX")
    private String originX;
    @TableField(value = "originY")
    private String originY;
    @TableField(value = "destinationX")
    private String destinationX;
    @TableField(value = "destinationY")
    private String destinationY;
    @TableField(value = "start")
    private String start;
    @TableField(value = "end")
    private String end;
}
